const {createProxyMiddleware} = require('http-proxy-middleware');


module.exports = function (app) {
    app.use(
        createProxyMiddleware('/api', {
            target: 'http://182.106.191.230:9999/micapi',
            changeOrigin: true,
            pathRewrite: {
                '^/api': ''
            }
        }),
    );
};

